package app;


import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JPasswordField;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.ImageIcon;

public class CambiarContrasenaDialog extends JFrame {


	private static final long serialVersionUID = 1L;
	private JPanel contentPane;
	private JPasswordField passwordField;
	private JPasswordField passwordField_1;
	private JPasswordField passwordField_2;

	public CambiarContrasenaDialog() {
		setTitle("Cambiar Contrase\u00F1a");
		setBounds(100, 100, 302, 201);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		passwordField = new JPasswordField();
		passwordField.setBounds(121, 51, 145, 20);
		contentPane.add(passwordField);
		
		JLabel lblNuevaContrasea = new JLabel("Nueva contrase\u00F1a:");
		lblNuevaContrasea.setBounds(10, 54, 101, 15);
		contentPane.add(lblNuevaContrasea);
		
		JLabel label_1 = new JLabel("Conf. Contrase\u00F1a:");
		label_1.setBounds(10, 84, 122, 15);
		contentPane.add(label_1);
		
		passwordField_1 = new JPasswordField();
		passwordField_1.setBounds(121, 82, 145, 20);
		contentPane.add(passwordField_1);
		
		JButton button = new JButton("");
		button.setIcon(new ImageIcon(CambiarContrasenaDialog.class.getResource("/icons/window-close.png")));
		button.setToolTipText("Cancelar");
		button.setBounds(176, 113, 40, 40);
		contentPane.add(button);
		
		JButton btnCambiar = new JButton("");
		btnCambiar.setIcon(new ImageIcon(CambiarContrasenaDialog.class.getResource("/icons/dialog-ok.png")));
		btnCambiar.setToolTipText("Cambiar");
		btnCambiar.setBounds(226, 113, 40, 40);
		contentPane.add(btnCambiar);
		
		JLabel lblContraseaAnterior = new JLabel("Contrase\u00F1a anterior:");
		lblContraseaAnterior.setBounds(10, 25, 101, 15);
		contentPane.add(lblContraseaAnterior);
		
		passwordField_2 = new JPasswordField();
		passwordField_2.setBounds(121, 22, 145, 20);
		contentPane.add(passwordField_2);
	}
}
